package com.ssy.lingxi.platform.manage.api.model.dto.parameter;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 平台参数请求实体
 * @author yzc
 * @version 2.0.0
 * @date 2020/10/27
 */
@Data
public class ParameterManageUpdateStateDTO implements Serializable {

    private static final long serialVersionUID = 4483506895097110811L;

    @ApiModelProperty("主键id")
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(" 状态：1.有效 0.无效")
    @NotNull(message = "状态不能为空")
    private Integer state;
}
